package com.googlecode.monitoring.flash;


import com.googlecode.monitoring.SystemRunner;
import com.googlecode.monitoring.config.SpringApplicationContext;
import org.apache.log4j.Logger;

/**
 * Author: Petro Krasnomovets
 * Date: May 18, 2010
 * Time: 6:45:12 PM
 */
public class FlashAgentStarter {
    private static Logger log = Logger.getLogger(FlashAgentStarter.class);

	public static void main(String[] args) throws Exception {
        SpringApplicationContext.setContextLocation(new String[]{"classpath*:flash-app-config.xml"});
		log.debug("flash monitoring run");
		SystemRunner.run();
	}
}
